package com.silence.whereeat.service;

import com.silence.whereeat.model.FoodInfo;

import java.util.List;

/**
 * Created by KIM on 2015/9/1.
 */
public interface FoodInfoService {
    int addFoodInfo(FoodInfo foodInfo);

    int deleteFoodInfo(int foodID);

    int editFoodInfo(FoodInfo foodInfo);

    FoodInfo getFoodInfoById(int foodID);

    List<FoodInfo> getFoodInfoByName(String name);

    List<FoodInfo> getFoodInfos(int passage);

    void close();
}
